<?php

interface Cicp_StorageDriver_Interface
{
    /**
     * store graph information of Cicp_Graph $graphobject
     */
    function storeGraph(Cicp_Graph $graphObject);
    /**
     * reads graph information of graph with id $graphId,
     * returns an according Cicp_Graph object
     */
    function readGraph($graphId);
    /**
     * delete graph information
     */
    function deleteGraph(Cicp_Graph $graphObject);
    /**
     * returns a free graph id
     */
    function getFreeGraphId();
}